package gao.xiaolei.entity;

import lombok.Data;
import javax.persistence.*;
import java.time.LocalDateTime;

@Entity
@Table(name = "classes_process_view")
@Data
public class ClassesProcessView {
    @Id
    private String id;

    @Column
    private String name;//班级名称

    @Column
    private Integer stage;//是第几期

    @Column
    private LocalDateTime createDate;//创建日期

    @Column(name = "describe_text", columnDefinition = "text")
    private String describe;//班级描述

    @Column
    private boolean isAutomatic;//判断这个班级是不是自动开班的

    @Column
    private LocalDateTime enterBeginTime;//报名开始时间

    @Column
    private LocalDateTime enterEndTime;//报名结束时间

    @Column
    private Integer minMemberCount;//开班最低人数

    @Column
    private Integer maxMemberCount;//班级人数上限

    @Column
    private String toDirector;//到了时间点之后将班级赋予给那个主任管理
}
